package kr.totalcall.controls
{
	/**
	 * 작업 기록
	 * 2012. 6. 13. / 이규광 / 최초 작성.
	 */
	/**
	 * 내용.
	 * @productversion Flex 4.5
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 10.2
	 * @author 이규광.
	 */
	import flash.display.Sprite;
	
	import spark.components.DataGrid;
	
	public class DataGrid extends spark.components.DataGrid
	{
		/**
		 * 생성자
		 */
		public function DataGrid()
		{
			super();
		}
		
		
		/*
		public function rowColorFunction(dataIndex:int, oldColor:uint):uint
		{
			var item:Object;
			
			if(dataIndex < dpReceive.length()) item = gridReceive.dataProvider[dataIndex];
			
			if( item != null )
			{
				if( item.reserve == "1" )
				{
					item.color = 0xCCFF99;
					return 0xCCFF99;
				}
				else if( item.status == "접수" )
				{
					item.color = 0xFFFFFF;
					return 0xFFFFFF;
				}
				else if( item.status == "개별" )
				{
					item.color = 0xAFFFEE;
					return 0xAFFFEE;
				}
				else if( item.status == "대기" )
				{
					item.color = 0xFFFF96;
					return 0xFFFF96;
				}
				else if( item.status == "배차" )
				{
					item.color = 0xFFCA9B;
					return 0xFFCA9B;
				}
				else if( item.status == "종료" )
				{
					item.color = 0xF3F4DE;
					return 0xF3F4DE;
				}
				else if( item.status == "취소" )
				{
					item.color = 0xAAAAAA;
					return 0xAAAAAA;
				}
				else if( item.status == "픽업" )
				{
					item.color = 0xF56E6E;
					return 0xF56E6E;
				}
				else if( item.status == "인터넷" )
				{
					item.color = 0xF479DF;
					return 0xF479DF;
				}
				else if( item.status == "자동" )
				{
					item.color = 0x00EBFF;
					return 0x00EBFF;
				}
			}
			return oldColor;
		}*/
	}
}